package com.neuedu.shixun.hospital2.repository;
import com.neuedu.shixun.hospital2.entity.Admin;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
@Repository
public interface AdminRepository extends JpaRepository<Admin,Integer>{
    Admin findByAAnameAndAPasswordAndAJobnum(String aJobnum,String aPassword,String aAname);
    Admin findByAJobnum(String jobNum);
}
